{% extends "::base.html.twig" %}
{% block body %}
<h1>Organiser un repas</h1>

<form action="{{ path('repas_create') }}" method="post" {{ form_enctype(form) }}>
    {{ form_widget(form) }}
        <p>
            <button type="submit" class="btn btn-success">Valider</button>
        </p>
    </form>

    <a href="{{ path('repas') }}">
        Retour
    </a>
{% endblock %}
